javac -encoding UTF-8 FileEncryption.java

for /l %%i in (1,1,%~2) do java FileEncryption de key.png %~1